Skip to content

Add extra props on associations to delete#543

Merged
dresende merged 1 commit intodresende:masterfrom
YannickDa:master
Dec 22, 2014
Merged

Add extra props on associations to delete#543
dresende merged 1 commit intodresende:masterfrom
YannickDa:master

Conversation

@YannickDa
Copy link
Contributor

When we need to delete some record on association, this driver use the $pullAll command.
But the $pullAll requires an exact match.
So, when the association has some extra properties, we need to include these properties in the pull object.

When we need to delete some record on association, this driver use the $pullAll command.
But the $pullAll requires an exact match.
So, when the association has some extra properties, we need to include these properties in the pull object.
@dxg
Copy link
Collaborator

dxg commented Aug 21, 2014

Thanks,

Do you think you could add one test to verify this behaviour? Otherwise it might be broken again once someone else makes a pull request. Thanks.

@YannickDa
Copy link
Contributor Author

I'm not very familiar with nodeJS test again... I'll try to implement it but I need time :)

@dxg
Copy link
Collaborator

dxg commented Aug 22, 2014

:) sounds good

dresende added a commit that referenced this pull request Dec 22, 2014
Add extra props on associations to delete
@dresende dresende merged commit 67d0b87 into dresende:master Dec 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants